<?php
namespace App\Http\Queries;

use App\Models\Author;
use Illuminate\Http\Request;
use Spatie\QueryBuilder\QueryBuilder;
use Spatie\QueryBuilder\AllowedFilter;

class AuthorQuery extends QueryBuilder
{
    public function __construct()
    {
        parent::__construct(Author::query());
        $this->orderBy("order_number",'asc');
    }
}
